package asu.util
{
	public class ArrayUtil
	{
		public static function sortByOrder(a:Object, b:Object):Number 
		{
			if(a.order > b.order) 
			{
				return 1;
			} 
			else if(a.order < b.order) 
			{
				return -1;
			}
			else
			{
				return 0;
			}
		}
	}
}